package com.dts.yjnb.service.service.impl;

import com.dts.yjnb.service.mapper.NbAllowancePolicyMapper;
import com.dts.yjnb.service.domainVo.AppAllowancePolicyVo;


import com.dts.common.utils.PageRequest;
import com.dts.common.utils.PageResponse;
import com.dts.common.utils.PageUtil;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dts.yjnb.service.service.INbAllowancePolicyService;

/**
 * 补贴政策Service业务层处理
 *
 * @author jyn
 * @date 2024-09-29
 */
@Service
public class NbAllowancePolicyServiceImpl implements INbAllowancePolicyService
{
    @Autowired
    private NbAllowancePolicyMapper nbAllowancePolicyMapper;



    @Override
    public PageResponse<AppAllowancePolicyVo> appQueryAllowancePolicy(AppAllowancePolicyVo appAllowancePolicyVo, PageRequest pageRequest) {


        return PageUtil.toPage(nbAllowancePolicyMapper.appQueryAllowancePolicy(appAllowancePolicyVo),pageRequest);
    }

}
